﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TeenyGrab.Interfaces;
using TeenyGrab.Objects;
using TeenyGrab.Windows;

namespace TeenyGrab.Outputs
{
    [Serializable]
    public class PopupOutput : IOutput
    {
        public bool Configurable { get { return false; } set { } }

        public string Name { get { return "Popup"; } set { } }

        public string Description { get { return "Displays image in a popup window."; } set { } }

        public PopupOutput()
        {

        }

        public void Configure()
        {
            throw new NotImplementedException();
        }

        public void Put(ImageObject image)
        {
            var window = new PopupOutputWindow(image);
/*            window.Width = image.Image.Width;
            window.Height = image.Image.Height;*/
            window.ShowDialog();
        }
    }
}
